package com.ycMc.service;

import com.ycMc.bean.response.ObjectResponse;
import com.ycMc.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by libo2 on 2017/8/15.
 */

public interface UserService {

    public ObjectResponse checkLogin(String loginName,String password);

    public void insert(User user);

    public void update(User user);

    public void delete(String userId);

    public List<User> selectAll();

    public List<User> query(String keyword);

    public List<User> select(User user);

    public User  selectOne(String userId);
}
